        <div class="dashboardWrapper">
            <header>
            	<table>
                	<tbody>
                    	<tr>
                        	<td class="logo">SUMMON</td>
                        	<td class="menu">
                            	<ul>
                                	<li>
                                    	<ul>
                                        	<li><a href="<?=base_url()?>dashboard/messages"><i class="icon-envelope"></i> Messages<span class="newMsgCount"></span></a></li>
                                        	<li><a href="<?=base_url()?>dashboard/restaurants"><i class="icon-glass"></i> Restaurants</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </td>
                        	<td class="user">
                                <div class="menuToggleBtn">
                                	<button class="btn" id="toggleMenu">
                                		<i class="icon-align-justify"></i>
                                    </button>
                                </div>
                                <div class="navbar navbar-static">
                                    <ul class="nav" role="navigation">
                                        <li class="dropdown">
                                            <ul class="nav pull-right">
                                                <li id="fat-menu" class="btn-group dropdown">
                                                    <button class="btn dropdown-toggle leftBtn" data-toggle="dropdown" role="button">
                                                        <span class="nameShow">
                                                        <?php
                                                            if($fullname!='')
                                                            {
                                                                echo '<i class="icon-user"></i> '.$fullname;
                                                            }
                                                            else
                                                            {
                                                                echo 'Guest!';	
                                                            }
                                                        ?>
                                                        </span>
                                                        <span class="nameHide">
                                                            <i class="icon-user"></i>
                                                        </span>

                                                    </button>
                                                    <button class="btn dropdown-toggle" data-toggle="dropdown">
                                                        <i class="icon-cog"></i>
                                                    </button>
                                                    <ul class="dropdown-menu" aria-labelledby="drop3" role="menu">
                                                        <li role="presentation">
                                                        	<span class="hiddenName"><?=$fullname?></span>
                                                            <p><?=$userType?></p>
                                                        </li>
                                                        <li role="presentation">
                                                            <a href="<?=base_url()?>dashboard/account_settings/<?=$myID?>" tabindex="-1" role="menuitem"><i class="icon-edit"></i> Account Settings</a>
                                                        </li>
                                                        <li class="divider" role="presentation"></li>
                                                        <li role="presentation">
                                                            <a href="<?=base_url()?>dashboard/logout" tabindex="-1" role="menuitem"><i class="icon-off"></i> Log Out</a>
                                                        </li>
                                                    </ul>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </header>
            <section>
                <div class="container-fluid">
                    <div class="row-fluid">
                        <div class="span2 leftWrapper" id="menuToToggle">
                        	<h2><i class="icon-tasks"></i> Menu</h2>
                        	<div class="hiddenMenu">
                            	<ul>
                                	<li>
                                    	<ul>
                                        	<li><a href="<?=base_url()?>dashboard/messages"><i class="icon-envelope"></i> Messages<span class="newMsgCount"></span></a></li>
                                        	<li><a href="<?=base_url()?>dashboard/restaurants"><i class="icon-glass"></i> Restaurants</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                            <div class="defaultMenu">
                            	<ul>
                                	<li>
                                    	<ul>
                                            <li><a href="<?=base_url()?>dashboard/reserved_lists"><i class="icon-folder-close"></i> Reserved Lists</a></li>
                                            <li><a href="<?=base_url()?>dashboard/list_users"><i class="icon-th-list"></i> Lists of Users</a></li>
                                        	<li><a href="<?=base_url()?>dashboard/accounts_analysis"><i class="icon-th"></i> General Reports</a></li>
                                        	<li><a href="<?=base_url()?>dashboard/account_summary"><i class="icon-list-alt"></i> Summary of New Accounts</a></li>
                                            <li><a href="<?=base_url()?>dashboard/about_us"><i class="icon-info-sign"></i> About the company</a></li>
                                        </ul>
                                    </li>
                                </ul>
                            </div>
                        </div>
                        <div class="span10 rightWrapper">
                        	<h2><i class="icon-pencil"></i> Compose Message</h2>
                        	<!--Body content-->
                            <ul class="nav nav-tabs">
                                <li class="active">
                                	<a href="<?=base_url()?>dashboard/compose"><i class="icon-pencil"></i> Compose</a>
                                </li>
                                <li>
                                	<a href="<?=base_url()?>dashboard/messages"><i class="icon-envelope"></i> Inbox</a>
                                </li>
                                <li>
                                	<a href="<?=base_url()?>dashboard/sent_items"><i class="icon-folder-open"></i> Sent Items</a>
                                </li>
                                <li>
                                	<a href="<?=base_url()?>dashboard/message_trash"><i class="icon-trash"></i> Trash</a>
                                </li>
                            </ul>
                            <div class="contentHolder">
                                <div class="container-fluid">
                                    <div class="row-fluid">
                                        <div class="span12">
                                        	<div class="msgBodyHolder">
                                        		<h5>Compose new message</h5>
                                                <div class="msgBoxHolder"></div>
                                                <form class="form-horizontal" action="javascript:void(0)">
                                                    <div class="control-group">
                                                        <label class="control-label" for="strTo">To</label>
                                                        <div class="controls">
                                                       		<div class="tokenHolder span5" id="tokenHolder" contenteditable></div>
                                                            <div id="recipientList" class="span3"></div>
                                                        </div>
                                                    </div>
                                                    <div class="control-group">
                                                        <label class="control-label" for="inputPassword">Message</label>
                                                        <div class="controls">
                                                        	<textarea name="strBodyMessage" class="span9" style="height:250px" id="strBodyMessage" placeholder="Message"></textarea>
                                                        </div>
                                                    </div>
                                                    <div class="control-group">
                                                        <div class="controls">
                                                        	<button id="doSendMsg" type="submit" class="btn btn-success" style="float:left"><i class="icon-ok-sign"></i> Send</button>
                                                            <div class="loaderHolder" id="loader" style="display:none; float:left">
																<img src="<?=base_url()?>assets/img/ajax-loader.gif" />
															</div>
                                                        </div>
                                                    </div>
                                                </form> 
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </section>
            <footer>

            </footer>
        </div>
